﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AppFramework.DinosaursParkMes.BOM.Dto
{
    public    class BOMDataOutDTO
    {
        /// <summary>
        /// id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// BOM编号
        /// </summary>
        public string Numberbom { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public string Versionnumber { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string Productname { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string Productnumber { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Productmodel { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 默认BOM
        /// </summary>
        public string Defaultbom { get; set; }

        /// <summary>
        /// 日产量
        /// </summary>
        public int Dailyproduction { get; set; }

        /// <summary>
        /// 父级Id
        /// </summary>
        public int Parentid { get; set; }

        /// <summary>
        /// 路线编号
        /// </summary>
        public string Processnumber { get; set; }

        /// <summary>
        /// 评论
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        public string CreationTimes { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime LastModificationTime { get; set; }
        public string LastModificationTimes { get; set; } 
        /// <summary>
        ///修改人Id
        /// </summary>
        public int LastModifierUserId { get; set; }
        /// <summary>
        /// 物料配件集合
        /// </summary>
        public List<DetailData> DetailList { get; set; }
  
    }
    public class DetailData 
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary  
        public string Materialnumber { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>

        public string Specificationsversion { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 物料类型
        /// </summary>

        public string Materialtype { get; set; }


        /// <summary>   
        /// 物料属性
        /// </summary>

        public string MaterialProperty { get; set; }

        /// <summary>
        /// 物料分类
        /// </summary>
        public string MaterialclassifyName { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public string Accessorytype { get; set; }


    }
}
